home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
wnode10.zip
/
WNODE.DOC
< prev
next >
Wrap
Text File
|
1992-06-08
|
3KB
|
61 lines
WHICH NODE 1.0 - Copyright (c) 1992 By: Roel Sarceno
of Video ViSion BBS (916) 682-1655
The reason why I wrote WHICH NODE (WNODE.EXE) is to determine which node
called the batch file. Most of the shareware door program, you have to
specify /B for lock baud rate in the command line. This could be a big
problem if node1 has LOCK DTE of 19200, node2 has LOCK DTE of 2400 and
node3 is not configured for LOCK DTE using one batch file.
WNODE.EXE, will determine (as fast as possible) which is the current
node number by reading DOOR.SYS or the environment setting. The syntax
for WHICH NODE is WNODE {E:(environment) | F:(filename)}
Eg: Using DOOR.SYS (DOOR.BAT) | Eg: Using Environment (DOOR1.BAT)
|
@echo off | @echo off
wnode F:DOOR.SYS | wnode E:WCNODEID
if errorlevel 3 goto node3 | if errorlevel 3 goto node3
if errorlevel 2 goto node2 | if errorlevel 2 goto node2
if errorlevel 1 goto node1 | if errorlevel 1 goto node1
Echo "Error read file" | Echo "Environment not set"
goto exitnode | goto exitnode
|
:node3 | :node3
program.exe | program.exe
goto exitnode | goto exitnode
|
:node2 | :node2
program.exe /B2400 | program.exe /B2400
goto exitnode | goto exitnode
|
:node1 | :node1
program.exe /19200 | program.exe /19200
goto exitnode | goto exitnode
:exitnode | :exitnode
WHICH NODE 1.0 SUPPORTED FILES
------------------------------
CALLINFO.DAT
DOOR.SYS
DISCLAIMER - I do not warrant that the functions of the software will
meet your specific requirements or WHICH NODE operation will be error-free
or uninterrupted. I have endeavored to minimize defects and errors on
WHICH NODE. However, You (the user) assume the risk of any damage or loss
from it's use.
If you experience any problems or for latest update on WHICH NODE call:
Video ViSion BBS
THE GRAPHIC LIBRARY
(916) 682-1655 / 24 Hrs
300-1200-2400-9600-19200
==============================================================================